<!-- Sofija Puric 6/08 -->
<?php
    require '../../pages/db.php';
    $con=dbConnect("sib");

    $rid=$_GET["rid"];
    $result = mysql_query("DELETE FROM reservation WHERE IDRes='$rid'", $con);
    if (!$result)
        die('Error: ' . mysql_error());
    else
        header('Location: ../reservations-admin.php');
    mysql_close($con);
?>